<template> 
    <div class="header"> <a-icon type="left" class='left' @click='goback()'/>{{title}} </div>  
</template>

<script>
export default {
  name: 'titleCommon',
  props:{
    title:{
      type:String,
      default:''
    }
  },
  data () {
    return { 
    }
  },
  methods:{
    goback(){
      this.$router.go(-1)
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 
</style>
